﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IPC.Communication.Framework.Core;
using IPC.Communication.Framework.Core.Address;

namespace IPC.Communication.Framework.Profinet.Melsec.Helper
{
    public interface IReadWriteMc : IReadWriteDevice, IReadWriteNet
    {
        byte NetworkNumber
        {
            get;
            set;
        }

        byte NetworkStationNumber
        {
            get;
            set;
        }

        IByteTransform ByteTransform
        {
            get;
            set;
        }

        McType McType
        {
            get;
        }

        OperateResult<McAddressData> McAnalysisAddress(string address, ushort length);

        byte[] ExtractActualData(byte[] response, bool isBit);
    }
}
